package com.liuyucheng.generic.array;

import java.lang.reflect.Array;
import java.util.ArrayList;

public class TestGenericArray {
    public static void main(String[] args) {
//        ArrayList<String>[] listArr = new ArrayList<String>[5];
        ArrayList<String>[] listArr = (ArrayList<String>[]) Array.newInstance(String.class,5);
    }
}
